package study.java.thread03;

/**
* @Name: SellTicketRunnableDemo
* @Description: 多线程练习题测试类
* 练习：
* 	某电影院目前正在上映贺岁大片，共有100张票，而它有3个售票口，设计实现模拟该电影院售票
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-1-8 下午10:09:08 
* @Version: V1.0
 */
public class SellTicketRunnableDemo {
	
	public static void main(String[] args) {
		SellTicketRunnable st = new SellTicketRunnable() ;
		Thread t1 = new Thread(st, "窗口1") ;
		Thread t2 = new Thread(st, "窗口2") ;
		Thread t3 = new Thread(st, "窗口3") ;
		t1.start() ;
		t2.start() ;
		t3.start() ;
	}

}
